package crmdna.inventory;

import java.util.TreeSet;

import com.googlecode.objectify.annotation.Cache;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
import com.googlecode.objectify.annotation.Serialize;

@Entity
@Cache
public class InventoryItemChangeEntity {
	@Id
	String groupIdDelimiter10DayBucket;

	// 10-day bucket is calculated as the index of 10 day bucket since 1 Jan
	// 1970
	// it is computed as: (no of seconds since 1 jan 1970)/86400/10

	// delimiter used is ||

	@Serialize(zip = true)
	TreeSet<InventoryItemChangeProp> changes = new TreeSet<>();
}
